package com.oahcfly.chgame.test;

import java.util.HashMap;

import com.oahcfly.chgame.core.mvc.CHModel;

public class NormalModel extends CHModel {

	private int score;

	public void addScore() {
		score += 100;
		HashMap<String, String> dataMap = new HashMap<String, String>();
		dataMap.put("actorName", "actor");
		dataMap.put("score", "" + score);
		this.dispatchUIEvent(dataMap);
	}
}
